try:
    x = 1/0 #除0错误，抛出ZeroDivisionError异常
except ZeroDivisionError as e:
    print('除0错误:',e)